Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Add api definitions #2

Merged

Conversation

brahmaroutu
Copy link
Contributor

This PR adds hack/codegen.sh to generate the API controller artifacts for all the API's defined under apis/objectstorage.k8s.io/v1alpha1. All CRD definitions along with listers informers and clientset are also checked-in for this package to be consumable as is.

@wlan0 @xing-yang Please review

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 28, 2020
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 28, 2020
@@ -0,0 +1,8 @@
// +k8s:deepcopy-gen=false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License is missing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

type S3SignatureVersion string

const (
S3SignatureVersionV2 = "s3v2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S3v2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, changes it to uppercase as suggested.

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 31, 2020
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


// +optional
Principal string `json:"principal,omitempty"`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@wlan0
Copy link
Contributor

wlan0 commented Nov 2, 2020

Mostly just nits, and one concern with ObjectReference. Otherwise, LGTM.

@brahmaroutu
Copy link
Contributor Author

@wlan0 @rrati
Can you please review

Copy link

@rrati rrati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brahmaroutu, rrati, wlan0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [brahmaroutu,rrati,wlan0]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


// +k8s:deepcopy-gen=false

package v1alpha1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need protocol-specific types now? I may be a bit behind, but I thought the Bucket instance was no longer going to expose protocol-specific fields, other than, perhaps, common values for all protocols.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffvance This PR is inline with the KEP that is merged. We will iterate it when the new proposal is merged.

@k8s-ci-robot
Copy link
Contributor

@brahmaroutu: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wlan0
Copy link
Contributor

wlan0 commented Nov 17, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 17, 2020
@k8s-ci-robot k8s-ci-robot merged commit 5547754 into kubernetes-retired:master Nov 17, 2020
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request May 29, 2024
adds issue templates to the COSI controller
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
adds issue templates to the COSI controller
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
Add approvers to facilitate project management
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request Jun 14, 2024
Add approvers to facilitate project management
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants